<?php
/**
 * Name: 消息日志模型.
 * User: 董坤鸿
 * Date: 2016/10/11
 * Time: 20:01
 */

namespace App\Models;
use App\MongoModel as Model;

class MessageLog extends Model
{
    const MSG_SEND_STATE = [
        0    => 'ready',
        100  => 'success',
        101  => 'network error'
    ];
    protected $fillable = [
        "to", "type", "content", "clientUin", "user_id", 'isGroup', 'createdTime', 'names'
    ];
    public $timestamps = false;
}